<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Happy Pets</title>
<!-- <meta http-equiv="refresh" content="0; url=web/index.jsp"> -->
<link rel="stylesheet" href="web/css/bootstrap.min.css">
<script type="text/javascript" src="web/js/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="web/js/bootstrap.min.js"></script>
</head>
<body>



	<div class="modal" id="myModel" tabindex="-1" role="dialog"
		aria-labelldby="myModelLabel">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
						aria-label="Close">
						<span aria-hidden="true">&times;</span>
					</button>
					<h1 class="text-center text-primary">登录</h1>
				</div>
				<div class="modal-body">
					<form action="" class="form col-md-12 center-block">
						<div class="form-group">
							<input type="text" class="form-control input-lg"
								placeholder="用户名">
						</div>
						<div class="form-group">
							<input type="password" class="form-control input-lg"
								placeholder="登录密码">
						</div>
						<div class="form-group">
							<button class="btn btn-primary btn-lg btn-block">立刻登录</button>
							<span><a href="#">找回密码</a></span> <span><a href="#"
								class="pull-right">注册</a></span>
						</div>
					</form>
				</div>
				<div class="modal-footer"></div>
			</div>
		</div>
	</div>


	<button class="btn">clickMe</button>
	<script>
		$(".btn").click(function() {
			$("#myModel").modal("show");
		});
	</script>

	<%
		//客户端跳转
		//response.sendRedirect("indexServlet");

		//服务器跳转
		//request.getRequestDispatcher("web/index.jsp").forward(request, response);
	%>
</body>
</html>